﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AgilePlannerDT.Data;

namespace AgilePlannerDT.ThirdPartySync
{
    public interface ISyncronizer
    {
        void updateIteration(Iteration iteration);
        void updateStoryCard(StoryCard workItem);

        void createWorkItem(StoryCard storyCard);
        void updateWorkItem(StoryCard storyCard);
        void deleteWorkItem(StoryCard storyCard);

        void createTimeBox(Iteration iteration);
        void updateTimeBox(Iteration iteration);
        void deleteTimeBox(Iteration iteration);

        List<StoryCard> getActiveWorkItems();
        List<Iteration> getActiveIterations();
        bool contains(IndexCard card);

        //void createOrUpdateLegend(Legend legend);
    }

}
